home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- copy e:\pcb\work\failure pcbfail.txt
- del e:\pcb\work\failure
- echo y|del e:\pcb\tmp\*.*
- if %2 == UPLOAD GOTO END
-
- testfile %1 zip
- if errorlevel == 98 goto end
- if errorlevel == 1 goto zip
- goto end
-
- :zip
- echo ■ Testing ZIP file integrity
- pkunzip -t %1 > pcbfail.txt
- if errorlevel == 1 goto end
- del pcbfail.txt
- goto end
-
- :end
-